package com.xbx.eduservice.client;

import com.xbx.commonutils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.PathVariable;
//注意此处注解的内容，包含了熔断返回的实现类
@FeignClient(name = "service-vod",fallback = VodClientImpl.class)
@Component
public interface VodClient {
    @DeleteMapping("eduvod/video/deleteVideo/{id}")
    public R deleteVideo(@PathVariable("id") String videoId);
}
